package cn.uikit.demo.other

import android.content.Context
import android.content.Intent
import android.os.Bundle
import cn.uikit.demo.databinding.ActivityOtherTestBinding
import sivin.uikit.framework.BindingActivity

class OtherTestActivity : BindingActivity<ActivityOtherTestBinding>(
    ActivityOtherTestBinding::inflate
) {
    companion object {
        fun launch(context: Context) {
            val startIntent = Intent(context, OtherTestActivity::class.java)
            context.startActivity(startIntent)
        }
    }

    private var name: String? = null
    override fun onViewCreate(savedInstanceState: Bundle?) {
        super.onViewCreate(savedInstanceState)
        binding.btnSendMsg.setOnClickListener {
            name!![0]
        }
    }
}